package model;

public class Student {
    private int id;
    private String name;
    private int age;
    private String classname;
    private String majorname;
    private String gender;
    
    public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Student(int id,String name,String gender,int age,String classname,String majorname) {
    	this.id=id;
    	this.name=name;
    	this.age=age;
    	this.classname=classname;
    	this.gender=gender;
    	this.majorname=majorname;
    }
    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public String getMajorName() {
		return majorname;
	}
	public void setMajorName() {
		this.majorname=majorname;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getClassname() {
		return classname;
	}
	public void setClassname(String classname) {
		this.classname = classname;
	}
}
